﻿using System;
using Engine;
using Engine.Graphics;
using Game;

namespace Mekiasm.Common
{
    public class AnimateRender
    {
        public RenderTarget2D RenderTarget;
        public Point3 Point;
        public int id;
        public bool Created;
        public bool FirstRender;
        public int Frame1;
        public int Frame2;
        public int Frame3;
        public int Frame4;
        public int Frame5;
        public BlockGeometryGenerator generator;
        public Action OnCreate;
        public Texture2D BaseTexture;//基础纹理
        public Texture2D RenderTexture;//用于渲染的纹理
        public AnimateRender(Point3 point)
        {
            Point = point;
        }
        public AnimateRender(int d) {
            id = d;        
        }
        public Action Draw;
    }
}
